from django.urls import re_path # 导入 re_path
from . import views # 正确的相对导入，导入当前应用下的 views.py

urlpatterns = [ # 使用列表而不是元组
    re_path(r"^$", views.home),
    re_path(r"^dev_guide/$", views.dev_guide),
    re_path(r"^contact/$", views.contact),
    re_path(r"biz-list", views.get_bizs_list),
    re_path(r"set-list", views.get_sets_list),
    re_path(r"module-list", views.get_modules_list),
    re_path(r"host-list",views.get_hosts_list),
    re_path(r"host-detail",views.get_host_detail)
]


